const path = require('path')
// vite.config.js # or vite.config.ts

export default{
    alias:{
        '/@/': path.resolve(__dirname, './src'),
        'assets': path.resolve(__dirname, './src/assets'),
    },
    base: './',
    outDir: 'dist',
    cssPreprocessOptions: {
        scss: {
            additionalData: '@import "src/style/_variables.scss";'
        }
    },
    optimizeDeps:{
        include:["ant-design-vue/es/locale/zh_CN"]
    }
}